<?php
include 'sdb.php';
$sdb = new simpledb("AKIAJQXQW644DKH7MGBA", "raYxoVwoUqolVLOMzc43cT+PRovnlWDg5jiOh8Ya");
   
    // Nice easy wrappers for all of the core API methods. Return is in the form
    // of an array containing: ResultCode, ResultMessage, BoxUsage and call
    // specific data.
$domainName="Domain";
   // $sdb->createDomain("Domain");

//	print_r($sdb->listDomains($nextToken = "", $maxDomains = 100));

//$sdb->putAttributes($domainName, "google.com","rank");
//$sdb->putAttributes($domainName, "google.com", array("rank"=>array('value'=>10)),null,true);
var_dump($sdb->select($domainName,"select * from $domainName where itemName ='google.com'"));



?>

